$(function () {
    layui.use(['layer', 'form'], function() {
        var layer = layui.layer,
            form = layui.form();

        insDatetimePicker('.is-date', {
            language: 'zh-CN',
            format: 'yyyy-mm-dd',
            weekStart: 1,
            todayBtn: 1,
            autoclose: 1,
            todayHighlight: 1,
            /*startDate : new Date(),*/
            endDate : new Date(),
            pickerPosition: 'bottom-right',
            startView: 2,
            minView: 2,
            forceParse: 0
        });
    });
});